﻿<UserControl x:Class="Mogubang_Sl.Views.SocreLifeAddView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480" Width="240" Height="100">
	<UserControl.Resources>
		<Storyboard x:Name="StoryboardShow">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseIn"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseIn"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseIn"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" IsHitTestVisible="False" Opacity="0" RenderTransformOrigin="0.5,0.5">
    	<Grid.RenderTransform>
    		<CompositeTransform ScaleX="0.5" ScaleY="0.5"/>
    	</Grid.RenderTransform>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="51*"/>
    		<RowDefinition Height="49*"/>
    	</Grid.RowDefinitions>
    	<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
    		<Grid x:Name="gridScore" Margin="0,0,5,0">
    			<TextBlock x:Name="txtAddScore_Copy" HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding Text, ElementName=txtAddScore}" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="48" Foreground="Black" RenderTransformOrigin="0.5,0.5">
    				<TextBlock.RenderTransform>
    					<CompositeTransform TranslateX="3" TranslateY="3"/>
    				</TextBlock.RenderTransform>
    			</TextBlock>
    			<TextBlock x:Name="txtAddScore" HorizontalAlignment="Center" TextWrapping="Wrap" Text="+80" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="48" Foreground="White"/>
    		</Grid>
    		<Grid x:Name="gridLife">
    			<Image Margin="0" Source="/Images/item_life.png" Stretch="Fill" Width="45" Height="45" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
    			<TextBlock x:Name="txtAddLife_Copy" HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Text, ElementName=txtAddLife}" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="48" Margin="40,0,-0.389,-0.437" RenderTransformOrigin="0.5,0.5" Foreground="Black">
    				<TextBlock.RenderTransform>
    					<CompositeTransform TranslateX="3" TranslateY="3"/>
    				</TextBlock.RenderTransform>
    			</TextBlock>
    			<TextBlock x:Name="txtAddLife" HorizontalAlignment="Left" TextWrapping="Wrap" Text="5" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="48" Margin="40,0,0,0">
    				<TextBlock.Foreground>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#FFFF4545" Offset="0"/>
    						<GradientStop Color="#FFD40000" Offset="1"/>
    					</LinearGradientBrush>
    				</TextBlock.Foreground>
    			</TextBlock>
    		</Grid>
    	</StackPanel>
    	<StackPanel x:Name="stackCombo" Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
    		<Image Source="/Images/combo.png" Stretch="Fill" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="137" Height="39"/>
    		<Grid x:Name="gridCombo" Margin="0,0,5,0">
    			<TextBlock x:Name="txtCombo_1" HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding Text, ElementName=txtCombo}" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="32" Foreground="#FFB50000" RenderTransformOrigin="0.5,0.5">
    				<TextBlock.RenderTransform>
    					<CompositeTransform TranslateX="2" TranslateY="2"/>
    				</TextBlock.RenderTransform>
    			</TextBlock>
    			<TextBlock x:Name="txtCombo" HorizontalAlignment="Center" TextWrapping="Wrap" Text="7" VerticalAlignment="Center" FontFamily="Segoe WP Black" FontSize="32" Foreground="#FFFFFFF2"/>
    		</Grid>
    	</StackPanel>
    </Grid>
</UserControl>